<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>管理用户</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

<link rel="stylesheet" type="text/css" href="subModal.css" />
<script type="text/javascript" src="common.js"></script>
<script type="text/javascript" src="subModal.js"></script>

<style type="text/css">
</style>
<script language="javascript">
var binit=0;
function returnRefresh(returnVal)
{
	//self.location.href="adminUser.php";
    return;   
}
function test1()
{
    if (binit == 0)
    {
        showPopWin('添加用户', 'dialog.htm', 400, 250,returnRefresh, true, true);
        //var frm = document.getElementById('popupFrame').contentWindow;
        //frm.document.getElementsByTagName("title")[0].innerHTML = '111111111111';
    }
    else
    {
        var frm = document.getElementById('popupFrame').contentWindow;
        var c = frm.document.getElementById('aaa');
        //frm.style.position = 'relative';
        c.value = 'mmmmm';
        showPopWin('添加用户222', '', 400, 250,returnRefresh, true, false);
    }
    binit = 1;
}

function test2()
{
  alert('2');  
}
</script>
</head>
<body>
<form>
<input type="button" onclick="test1()" value="test1" style="position: relative;"/>
<input type="button" onclick="test2()" value="test2"/>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
<h1>aaaaaaaaaaaaaaaaaaaaaaaaaa</h1></br>
</form>
</body>
</html>